#ifndef PROF_H
#define PROF_H

#include "info.h"
#include <QString>
#include <QStringList>
#include <QMessageBox>

class Prof
{
public:
    Prof();

    Prof(Info Infos, QStringList ListeInstrus);
    Prof(QString StringToProf);

    static bool StringToProfTest(QString StringToProf);

    bool operator ==(const Prof & prof);
    bool operator !=(const Prof & prof);
    Prof & operator=(const Prof & prof);

    void setInfo(Info Infos);
    void setListeInstrus(QStringList ListeInstrus);

    QString ProfToString()const;

    Info getInfo()const;
    QStringList getListeInstrus()const;

private:
    Info m_infos;
    QStringList m_ListeInstrus;

};

#endif // PROF_H
